xl: fix command truncation
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 21 Jun 2010 17:35:10 +0000 (18:35 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 21 Jun 2010 17:35:10 +0000 (18:35 +0100)
commite862bdf68fdc53d9cee4686b579fd8dd8d31ff32
tree071f320d03d641a169406144a6f010b24dd4f761
parent154a413090645bac5ba4587999484e41088f3f89
xl: fix command truncation

Fix the truncation code so that it always accepts an exact match,
even when one command is a prefix of another one.   This fixes,
e.g., "xl list"

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
tools/libxl/xl_cmdtable.c